package com.faneui.transfer.dal.model;


/**
 *  T_ORDER
 */
public class Order extends IdEntity {

	/**
	* CUST_ID.
	*/
	private Long custId;
	/**
	* STATUS.
	*/
	private Integer status;
	/**
	* 1-微信转支付宝，2-支付宝转微信.
	*/
	private String orderType;
	/**
	* TO_ACCOUNT_ID.
	*/
	private Long toAccountId;
	/**
	* FROM_ACCOUNT_ID.
	*/
	private Long fromAccountId;
    
    /**
     * CUST_ID.
     */
    public void setCustId(Long custId){
        this.custId = custId;
    }

    /**
     * Get custId CUST_ID.
     *
     * @return the string
     */
    public Long getCustId(){
        return custId;
    }
    /**
     * STATUS.
     */
    public void setStatus(Integer status){
        this.status = status;
    }

    /**
     * Get status STATUS.
     *
     * @return the string
     */
    public Integer getStatus(){
        return status;
    }
    /**
     * 1-微信转支付宝，2-支付宝转微信.
     */
    public void setOrderType(String orderType){
        this.orderType = orderType == null ? null:orderType.trim();
    }

    /**
     * Get orderType 1-微信转支付宝，2-支付宝转微信.
     *
     * @return the string
     */
    public String getOrderType(){
        return orderType;
    }
    /**
     * TO_ACCOUNT_ID.
     */
    public void setToAccountId(Long toAccountId){
        this.toAccountId = toAccountId;
    }

    /**
     * Get toAccountId TO_ACCOUNT_ID.
     *
     * @return the string
     */
    public Long getToAccountId(){
        return toAccountId;
    }
    /**
     * FROM_ACCOUNT_ID.
     */
    public void setFromAccountId(Long fromAccountId){
        this.fromAccountId = fromAccountId;
    }

    /**
     * Get fromAccountId FROM_ACCOUNT_ID.
     *
     * @return the string
     */
    public Long getFromAccountId(){
        return fromAccountId;
    }
    
    @Override
	public String toString() {
		return "Order ["
				+ " custId =" + custId + ", "
				+ " status =" + status + ", "
				+ " orderType =" + orderType + ", "
				+ " toAccountId =" + toAccountId + ", "
				+ " fromAccountId =" + fromAccountId + ", "
				+" id=" + id + ","
				+" createdDate=" + createdDate + ","
				+" createdBy=" + createdBy + "," 
				+" updatedDate=" + updatedDate + "," 
				+" updatedBy=" + updatedBy + "," 
				+" deleteFlag=" + deleteFlag + "]";
	}
}
